package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 曹远远
 */
@Getter
@Setter
@ToString
public class FormDataSubSummaryGetDTO extends BaseDTO {
    private static final long serialVersionUID = -7322938703415467463L;

    @NotNull(message = "表单id不能为空")
    private Long formId;

    @Getter(onMethod_ = {@QueryIgnore})
    private Long menuId;
    /**
     * 子表单的attr
     */
    @NotNull(message = "子表单的attr不能为空")
    @Getter(onMethod_ = {@QueryIgnore})
    private String attr;

    /**
     * 记录id
     */
    @NotNull(message = "数据id不能为空")
    private Long dataId;

    /**
     * saas标记
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer saasMark;

    /**
     * 业务类型
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer businessType;

    /**
     * 流程任务id
     */
    private Long processNodeTaskId;

    /**
     * 表单数据
     */
    private Long processTaskId;

    /**
     * 流程类型
     */
    private String processType;

    private Boolean fromDingtalk;

    /**
     * 是否是审批打印汇总 1为是
     */
    private Integer approvePrint;
    
    private Integer linkBusinessType;
    /**
     * 是否是打印的汇总
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer fromPrint;


    /**
     * 对账日期范围筛选：[1601481600, 1603555199]
     */
    private List<Long> checkingDate;

    /**
     * 是否是工作流，0老审批，1工作流
     */
    private Integer isWorkflow;

    public FormDataSubSummaryGetDTO(){
    }
}